package com.francis.spring.framework.webmvc.servlet;

import java.util.Map;

/**
 * @Author Francis
 * @Date 2020/11/22 19:01
 * @Version 1.0
 * @Description:
 */
public class FrancisModelAndView {
    private String viewName;
    private Map<String,?> model;

    public FrancisModelAndView(String viewName) {
        this.viewName = viewName;
    }

    public FrancisModelAndView(String viewName, Map<String, ?> model) {
        this.viewName = viewName;
        this.model = model;
    }
    public String getViewName() {
        return viewName;
    }
    public Map<String, ?> getModel() {
        return model;
    }

}
